package com.ims.core.doc.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 结算单销项票多对多对象 t_sc_settle_sal_invoice
 *
 * @author IMS
 * @date 2024-10-07
 */
public class TScSettleSalInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 结算单ID */
    @Excel(name = "结算单ID")
    private String settleId;

    /** 发票ID */
    @Excel(name = "发票ID")
    private String invoiceId;

    /** 订单编码 */
    @Excel(name = "订单编码")
    private String orderNo;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDel;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSettleId(String settleId)
    {
        this.settleId = settleId;
    }

    public String getSettleId()
    {
        return settleId;
    }
    public void setInvoiceId(String invoiceId)
    {
        this.invoiceId = invoiceId;
    }

    public String getInvoiceId()
    {
        return invoiceId;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setIsDel(Integer isDel)
    {
        this.isDel = isDel;
    }

    public Integer getIsDel()
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("settleId", getSettleId())
            .append("invoiceId", getInvoiceId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("orderNo", getOrderNo())
            .append("isDel", getIsDel())
            .toString();
    }
}
